package com.antrain.his.service.impl;

import java.util.Map;

import javax.annotation.Resource;

import com.antrain.his.entity.Register;
import com.antrain.his.mapper.RegisterMapper;
import com.antrain.his.service.IRegisterService;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author antrain
 * @since 2020-09-09
 */
@Service
public class RegisterServiceImpl extends ServiceImpl<RegisterMapper, Register> implements IRegisterService {

  @Resource
  private RegisterMapper registerMapper;

  @Override
  public IPage<Map<String, Object>> getList(IPage<Register> page, Wrapper<Register> wrapper) {
    return registerMapper.getList(page, wrapper);
  }

}
